
<div class="panel panel-default">
    <div class="panel-body">


        <div class="page-header">
            <h1>{$strUser['username']} <small>{$strUser['signed']}</small></h1>
        </div>



        <div class="user_space_userinfo">
            <div class="photo">

                <img class="img-rounded" title="{$strUser[username]}" alt="{$strUser[username]}" src="{$strUser[face]}" width="90">


                {if $strUser[userid] == $TS_USER[userid]}
                <div>
                    [<a href="{tsUrl('my','setting',array(ts=>base))}">修改基本信息</a>]
                </div>
                {/if}

            </div>
            <div class="info">

                <div>UID：{$strUser[userid]} </div>


                <div>加入：{php echo date('Y-m-d',$strUser[addtime])} </div>

                <div class="sex">性别：{$strUser['sex']}</div>

                <div class="city">居住地：{$strUser['province']} {$strUser['city']}</div>

                <div class="">博客：{$strUser['blog']}</div>

                <div class="about">关于我：{$strUser['about']}</div>


                <div>

                    <a href="{tsUrl('user','verify')}">
                        {if $strUser['isverify']==1}
                        <img src="{SITE_URL}public/images/rz1.gif" alt="Email认证用户" title="Email认证用户" align="absmiddle" />
                        {else}
                        <img src="{SITE_URL}public/images/rz2.gif" alt="Email认证用户" title="Email认证用户" align="absmiddle" />
                        {/if}
                    </a>

                </div>




                <div style="text-align:right;">
                    {if $strUser[userid] != $TS_USER[userid]}
                    {if $strUser[isfollow]}
                    <a class="btn btn-default btn-sm" href="javascript:void('0');" onclick="unfollow('{$strUser['userid']}','{$_SESSION['token']}');">取消关注</a>
                    {else}
                    <a class="btn btn-success btn-sm" href="javascript:void('0')" onclick="follow('{$strUser['userid']}','{$_SESSION['token']}');">关注</a>
                    {/if}
                    <a href="{tsUrl('user','message',array(ts=>add,touserid=>$strUser[userid]))}" rel="nofollow" class="btn btn-default btn-sm">发消息</a>
                    {/if}
                </div>



            </div>
        </div>







        <div class="clear" style="height:20px;"></div>


        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" {if $ac=='space'}class="active"{/if}><a href="{tsUrl('user','space',array('id'=>$strUser['userid']))}">首页</a></li>
            <li role="presentation" {if $ac=='topic'}class="active"{/if}><a href="{tsUrl('user','topic',array('id'=>$strUser['userid']))}">帖子</a></li>
            <li role="presentation" {if $ac=='group'}class="active"{/if}><a href="{tsUrl('user','group',array('id'=>$strUser['userid']))}">小组</a></li>
            <li role="presentation" {if $ac=='guestbook'}class="active"{/if}><a href="{tsUrl('user','guestbook',array('id'=>$strUser['userid']))}">留言</a></li>
        </ul>






    </div>
</div>




